home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMNSHTMLAnchorElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  9KB  |  242 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMNSHTMLAnchorElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMNSHTMLAnchorElement_h__
  6. #define __gen_nsIDOMNSHTMLAnchorElement_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMNSHTMLAnchorElement */
  19. #define NS_IDOMNSHTMLANCHORELEMENT_IID_STR "a6cf911c-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMNSHTMLANCHORELEMENT_IID \
  22.   {0xa6cf911c, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMNSHTMLAnchorElement : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNSHTMLANCHORELEMENT_IID)
  29.  
  30.   /* attribute DOMString protocol; */
  31.   NS_IMETHOD GetProtocol(nsAString & aProtocol) = 0;
  32.   NS_IMETHOD SetProtocol(const nsAString & aProtocol) = 0;
  33.  
  34.   /* attribute DOMString host; */
  35.   NS_IMETHOD GetHost(nsAString & aHost) = 0;
  36.   NS_IMETHOD SetHost(const nsAString & aHost) = 0;
  37.  
  38.   /* attribute DOMString hostname; */
  39.   NS_IMETHOD GetHostname(nsAString & aHostname) = 0;
  40.   NS_IMETHOD SetHostname(const nsAString & aHostname) = 0;
  41.  
  42.   /* attribute DOMString pathname; */
  43.   NS_IMETHOD GetPathname(nsAString & aPathname) = 0;
  44.   NS_IMETHOD SetPathname(const nsAString & aPathname) = 0;
  45.  
  46.   /* attribute DOMString search; */
  47.   NS_IMETHOD GetSearch(nsAString & aSearch) = 0;
  48.   NS_IMETHOD SetSearch(const nsAString & aSearch) = 0;
  49.  
  50.   /* attribute DOMString port; */
  51.   NS_IMETHOD GetPort(nsAString & aPort) = 0;
  52.   NS_IMETHOD SetPort(const nsAString & aPort) = 0;
  53.  
  54.   /* attribute DOMString hash; */
  55.   NS_IMETHOD GetHash(nsAString & aHash) = 0;
  56.   NS_IMETHOD SetHash(const nsAString & aHash) = 0;
  57.  
  58.   /* readonly attribute DOMString text; */
  59.   NS_IMETHOD GetText(nsAString & aText) = 0;
  60.  
  61.   /* DOMString toString (); */
  62.   NS_IMETHOD ToString(nsAString & _retval) = 0;
  63.  
  64. };
  65.  
  66. /* Use this macro when declaring classes that implement this interface. */
  67. #define NS_DECL_NSIDOMNSHTMLANCHORELEMENT \
  68.   NS_IMETHOD GetProtocol(nsAString & aProtocol); \
  69.   NS_IMETHOD SetProtocol(const nsAString & aProtocol); \
  70.   NS_IMETHOD GetHost(nsAString & aHost); \
  71.   NS_IMETHOD SetHost(const nsAString & aHost); \
  72.   NS_IMETHOD GetHostname(nsAString & aHostname); \
  73.   NS_IMETHOD SetHostname(const nsAString & aHostname); \
  74.   NS_IMETHOD GetPathname(nsAString & aPathname); \
  75.   NS_IMETHOD SetPathname(const nsAString & aPathname); \
  76.   NS_IMETHOD GetSearch(nsAString & aSearch); \
  77.   NS_IMETHOD SetSearch(const nsAString & aSearch); \
  78.   NS_IMETHOD GetPort(nsAString & aPort); \
  79.   NS_IMETHOD SetPort(const nsAString & aPort); \
  80.   NS_IMETHOD GetHash(nsAString & aHash); \
  81.   NS_IMETHOD SetHash(const nsAString & aHash); \
  82.   NS_IMETHOD GetText(nsAString & aText); \
  83.   NS_IMETHOD ToString(nsAString & _retval); 
  84.  
  85. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  86. #define NS_FORWARD_NSIDOMNSHTMLANCHORELEMENT(_to) \
  87.   NS_IMETHOD GetProtocol(nsAString & aProtocol) { return _to GetProtocol(aProtocol); } \
  88.   NS_IMETHOD SetProtocol(const nsAString & aProtocol) { return _to SetProtocol(aProtocol); } \
  89.   NS_IMETHOD GetHost(nsAString & aHost) { return _to GetHost(aHost); } \
  90.   NS_IMETHOD SetHost(const nsAString & aHost) { return _to SetHost(aHost); } \
  91.   NS_IMETHOD GetHostname(nsAString & aHostname) { return _to GetHostname(aHostname); } \
  92.   NS_IMETHOD SetHostname(const nsAString & aHostname) { return _to SetHostname(aHostname); } \
  93.   NS_IMETHOD GetPathname(nsAString & aPathname) { return _to GetPathname(aPathname); } \
  94.   NS_IMETHOD SetPathname(const nsAString & aPathname) { return _to SetPathname(aPathname); } \
  95.   NS_IMETHOD GetSearch(nsAString & aSearch) { return _to GetSearch(aSearch); } \
  96.   NS_IMETHOD SetSearch(const nsAString & aSearch) { return _to SetSearch(aSearch); } \
  97.   NS_IMETHOD GetPort(nsAString & aPort) { return _to GetPort(aPort); } \
  98.   NS_IMETHOD SetPort(const nsAString & aPort) { return _to SetPort(aPort); } \
  99.   NS_IMETHOD GetHash(nsAString & aHash) { return _to GetHash(aHash); } \
  100.   NS_IMETHOD SetHash(const nsAString & aHash) { return _to SetHash(aHash); } \
  101.   NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
  102.   NS_IMETHOD ToString(nsAString & _retval) { return _to ToString(_retval); } 
  103.  
  104. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  105. #define NS_FORWARD_SAFE_NSIDOMNSHTMLANCHORELEMENT(_to) \
  106.   NS_IMETHOD GetProtocol(nsAString & aProtocol) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProtocol(aProtocol); } \
  107.   NS_IMETHOD SetProtocol(const nsAString & aProtocol) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProtocol(aProtocol); } \
  108.   NS_IMETHOD GetHost(nsAString & aHost) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHost(aHost); } \
  109.   NS_IMETHOD SetHost(const nsAString & aHost) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHost(aHost); } \
  110.   NS_IMETHOD GetHostname(nsAString & aHostname) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHostname(aHostname); } \
  111.   NS_IMETHOD SetHostname(const nsAString & aHostname) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHostname(aHostname); } \
  112.   NS_IMETHOD GetPathname(nsAString & aPathname) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPathname(aPathname); } \
  113.   NS_IMETHOD SetPathname(const nsAString & aPathname) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPathname(aPathname); } \
  114.   NS_IMETHOD GetSearch(nsAString & aSearch) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearch(aSearch); } \
  115.   NS_IMETHOD SetSearch(const nsAString & aSearch) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearch(aSearch); } \
  116.   NS_IMETHOD GetPort(nsAString & aPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPort(aPort); } \
  117.   NS_IMETHOD SetPort(const nsAString & aPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPort(aPort); } \
  118.   NS_IMETHOD GetHash(nsAString & aHash) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHash(aHash); } \
  119.   NS_IMETHOD SetHash(const nsAString & aHash) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHash(aHash); } \
  120.   NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
  121.   NS_IMETHOD ToString(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 
  122.  
  123. #if 0
  124. /* Use the code below as a template for the implementation class for this interface. */
  125.  
  126. /* Header file */
  127. class nsDOMNSHTMLAnchorElement : public nsIDOMNSHTMLAnchorElement
  128. {
  129. public:
  130.   NS_DECL_ISUPPORTS
  131.   NS_DECL_NSIDOMNSHTMLANCHORELEMENT
  132.  
  133.   nsDOMNSHTMLAnchorElement();
  134.  
  135. private:
  136.   ~nsDOMNSHTMLAnchorElement();
  137.  
  138. protected:
  139.   /* additional members */
  140. };
  141.  
  142. /* Implementation file */
  143. NS_IMPL_ISUPPORTS1(nsDOMNSHTMLAnchorElement, nsIDOMNSHTMLAnchorElement)
  144.  
  145. nsDOMNSHTMLAnchorElement::nsDOMNSHTMLAnchorElement()
  146. {
  147.   /* member initializers and constructor code */
  148. }
  149.  
  150. nsDOMNSHTMLAnchorElement::~nsDOMNSHTMLAnchorElement()
  151. {
  152.   /* destructor code */
  153. }
  154.  
  155. /* attribute DOMString protocol; */
  156. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::GetProtocol(nsAString & aProtocol)
  157. {
  158.     return NS_ERROR_NOT_IMPLEMENTED;
  159. }
  160. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::SetProtocol(const nsAString & aProtocol)
  161. {
  162.     return NS_ERROR_NOT_IMPLEMENTED;
  163. }
  164.  
  165. /* attribute DOMString host; */
  166. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::GetHost(nsAString & aHost)
  167. {
  168.     return NS_ERROR_NOT_IMPLEMENTED;
  169. }
  170. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::SetHost(const nsAString & aHost)
  171. {
  172.     return NS_ERROR_NOT_IMPLEMENTED;
  173. }
  174.  
  175. /* attribute DOMString hostname; */
  176. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::GetHostname(nsAString & aHostname)
  177. {
  178.     return NS_ERROR_NOT_IMPLEMENTED;
  179. }
  180. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::SetHostname(const nsAString & aHostname)
  181. {
  182.     return NS_ERROR_NOT_IMPLEMENTED;
  183. }
  184.  
  185. /* attribute DOMString pathname; */
  186. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::GetPathname(nsAString & aPathname)
  187. {
  188.     return NS_ERROR_NOT_IMPLEMENTED;
  189. }
  190. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::SetPathname(const nsAString & aPathname)
  191. {
  192.     return NS_ERROR_NOT_IMPLEMENTED;
  193. }
  194.  
  195. /* attribute DOMString search; */
  196. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::GetSearch(nsAString & aSearch)
  197. {
  198.     return NS_ERROR_NOT_IMPLEMENTED;
  199. }
  200. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::SetSearch(const nsAString & aSearch)
  201. {
  202.     return NS_ERROR_NOT_IMPLEMENTED;
  203. }
  204.  
  205. /* attribute DOMString port; */
  206. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::GetPort(nsAString & aPort)
  207. {
  208.     return NS_ERROR_NOT_IMPLEMENTED;
  209. }
  210. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::SetPort(const nsAString & aPort)
  211. {
  212.     return NS_ERROR_NOT_IMPLEMENTED;
  213. }
  214.  
  215. /* attribute DOMString hash; */
  216. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::GetHash(nsAString & aHash)
  217. {
  218.     return NS_ERROR_NOT_IMPLEMENTED;
  219. }
  220. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::SetHash(const nsAString & aHash)
  221. {
  222.     return NS_ERROR_NOT_IMPLEMENTED;
  223. }
  224.  
  225. /* readonly attribute DOMString text; */
  226. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::GetText(nsAString & aText)
  227. {
  228.     return NS_ERROR_NOT_IMPLEMENTED;
  229. }
  230.  
  231. /* DOMString toString (); */
  232. NS_IMETHODIMP nsDOMNSHTMLAnchorElement::ToString(nsAString & _retval)
  233. {
  234.     return NS_ERROR_NOT_IMPLEMENTED;
  235. }
  236.  
  237. /* End of implementation class template. */
  238. #endif
  239.  
  240.  
  241. #endif /* __gen_nsIDOMNSHTMLAnchorElement_h__ */
  242.